//
//  BRHomeView.h
//  BrezzeSaaS
//
//  Created by IOS on 2023/3/15.
//  Copyright © 2023 Brezze GWG. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BRHomeTopView.h"
#import "BRStatilListTableViewCell.h"
#import "BROrderDetailModel.h"
#import "BRUnpayView.h"
#import "BRBannerView.h"

NS_ASSUME_NONNULL_BEGIN

@class BRHomeTimeView;

@interface BRHomeView : UIView

@property (nonatomic,copy) BRIntBlock toClickBlock;

@property (nonatomic,strong) NSString *timerStr;

/// 租借中显示视图
@property (nonatomic,strong) BRHomeTopView *orderView;
/// 待支付
//@property (nonatomic,strong) BRUnpayView *unpayView;

//@property (nonatomic,strong) BRRuleView *ruleView;
/// bannerView
//@property (nonatomic,strong) BRBannerView *bannerView;
/// 0 无单  1 租借中 2未支付
@property (nonatomic,assign) NSInteger orderType;

- (void)showView:(NSInteger)type;
/// 当前是否展开状态
@property (nonatomic,assign) BOOL isOpen;

/// 当前是否展开状态
@property (nonatomic,assign) BOOL isOpenOrder;
/// 当前是否展开状态
@property (nonatomic,assign) BOOL isOpenStation;

@property (nonatomic,strong) BROrderDetailModel *orderDto;

/// 已展开的类型
@property (nonatomic,assign) NSInteger openType;

@property (nonatomic,strong) BRHomeTimeView *timeTopView;

//@property (nonatomic,strong) BRStatilListTableViewCell *stationView;

@property (nonatomic,strong)  UIVisualEffectView *shadowView;

- (void)orderViewShow:(BOOL)show;

- (void)stationViewShow:(BOOL)show;

- (void)hasOrder:(BOOL)has;
/// 收起bug
- (void)br_hiddenShowCard;
/// 刷新原始高度
- (void)br_refreshViewH;

@end

@interface BRHomeTimeView : UIView

@property (nonatomic,strong) NSString *timerStr;
@property (nonatomic,strong) QMUILabel *timeL;

@end

NS_ASSUME_NONNULL_END
